﻿using System;
using System.Collections.Generic;
using System.Text;

namespace LibRTC.Core
{
    class RTCHelper
    {
        // no one can instantiate this class
        private RTCHelper()
        {
            
        }

        public static bool IsFailed(int status)
        {
            return (status < 0);
        }

        public static bool IsSucceeded(int status)
        {
            return (status >= 0);
        }
    }
}